import { zhCN, enUS, dateZhCN, dateEnUS } from "naive-ui";
import customZhCN from "./lang/zh-CN";
import customEnUS from "./lang/en-US";

const appZhCN = { ...customZhCN, ...zhCN };
const appEnUS = { ...customEnUS, ...enUS };

// app 语言包
export const langMessages = {
  "zh-CN": appZhCN,
  "en-US": appEnUS,
};

// app 日期格式包
export const dateMessages = {
  "zh-CN": dateZhCN,
  "en-US": dateEnUS,
};

export const localeOptions = [
  { label: "中文", value: "zh-CN" },
  { label: "英文", value: "en-US" },
];
